Hyyan\WPI\Utilities B

Total Complexity 89
Dependencies 10
Dependents 17
Total lines 646
Lines of code 303
Logical lines of code 178
Comment lines 263
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
getDefaultAttributesTranslation()
A
42 13 53
get_translated_variation()
A
46 11 38
maybeVariableProduct()
A
56 12 16
switch_pll_locale()
A
49 9 30
flushCacheUpdateLookupTable()
S
50 7 28
switch_wp_locale()
S
53 4 24
jsScriptWrapper()
S
55 3 20
getProductTranslationByObject()
S
66 3 8
getLanguageEntity()
S
64 3 10
polylangVersionCheck()
S
69 3 6
get_variation_parentid()
S
70 2 7
getProductTranslationsArrayByID()
S
66 2 8
getCurrentUrl()
S
72 2 5
woocommerceVersionCheck()
S
68 2 7
getTermTranslationsArrayByID()
S
66 2 8
getProductTranslationByID()
S
68 2 7
getProductTranslationsArrayByObject()
S
79 1 3
get_billing_country()
S
80 1 3
get_order_item_productid()
S
80 1 3
get_order_item_variationid()
S
80 1 3
get_order_item_quantity()
S
80 1 3
get_order_item_change()
S
81 1 3
get_orderid()
S
80 1 3
switchLocale()
S
77 1 4
get_payment_method()
S
80 1 3